home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9996 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: kari.fm.unit.no!rustad
  2. From: rustad@fm.unit.no (Rolf Rustad)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Initial Edit Control Box Data Assignments
  5. Date: 5 Mar 1996 16:04:01 GMT
  6. Organization: The Norwegian University of Science and Technology
  7. Message-ID: <4hholh$961@due.unit.no>
  8. References: <4hgbt7$2gf@firebrick.mindspring.com>
  9. NNTP-Posting-Host: kari.fm.unit.no
  10. X-Newsreader: TIN [version 1.1 PL6]
  11.  
  12. Michael  Clark (clarkmj@atl.mindspring.com) wrote:
  13. : I am trying to figure out how to make an edit control box display an
  14. : initial value that is stored in memory.  I am using BC3.1 and OWL.
  15. : This problem is crucial to finishing my design work for an
  16. : aerodynamics class.  Please help with as much detail as possible.
  17. : Thanks Mike Clark
  18. : clarkmj@aub.mindspring.com
  19.  
  20. You need to use the EvInitDialog function. It is called after the interface
  21. object has been created, so the controls are valid. Include either
  22. SetDlgItemText(int EditId, const char* txt); or
  23. Edit.SetText(const char* txt);  // The arguments may have a slightly different
  24. format.
  25.  
  26. Rolf
  27.  
  28.